<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>停车场评价查询</title>
    
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1";/><!-- IE的渲染模式 -->
    <meta name="keywords" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="description" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="author" content="blackshadowwalker" />
    
    <link href="css/common.css" rel="stylesheet" />

	<script src="scripts/jquery/jquery-1.7.min.js"></script>
	<script src="bootstrap/3.2/js/bootstrap.min.js"></script>
	<link href="bootstrap/3.2/css/bootstrap.css" rel="stylesheet"/>
	
	<script src="index/js/index.js" type="text/javascript"></script>
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=15EdmORyQbzDsGOQHiTsW2oh"></script>
	
	<style>
		body{
			margin-left: 10px;
			margin-top: 7px;
			height:100%;
			width:98%;
			min-width:500px;
			font-size:10px;
		}
		#baidumap{height:100%}  
	</style>
	
  </head>
  
  <body >
  	
  	<div>
		<div class="alert-info hidden" style="">
			<div style="display:inline;margin-left:30px;color:#f00;">
				${msg }
			</div>
		</div >
	</div>
	
	<div class="content" type="list">
		<table class="table  table-hover" style="width:100%;">
	  		
	  		<tr>
	  			<th class="hidden">id</th>
	  			<th >编号</th>
	  			<th >车主</th>
	  			<th >留言内容</th>
	  			<th >所在车场</th>
	  			<th >留言时间</th>
	  			<th >操作</th>
	  		</tr>
	  	<s:iterator id="l"  value="list" status="i"> 
	  		<tr>
	  			<td class="hidden">${pcId}</td>
	  			<td><s:property value="#i.index+1"/></td>
	  			<td>${l.userinfo.realName}</td>
	  			<td>${l.content}</td>
	  			<td>${l.parkOrder.parkinfo.PName}</td>
	  			<td><s:date name="#l.createTime" format="yyyy-MM-dd hh:mm:ss" /></td>
					<td><s:if test="#request.view>0">
							<a class="btn btn-info" href="${action}?method=lookinfo&id=${pcId}"
								title="查看详情"> <span class="glyphicon glyphicon-list-alt"></span>
							</a>
						</s:if><!--   <s:if test="#request.view>0">
							<a class="btn btn-info" href="${action}?method=backcomm&id=${pcId}"
								title="回复"> <span class="glyphicon glyphicon-list-alt"></span>
							</a>
							
						</s:if>--></td>
				</tr>
		</s:iterator>
	  	</table>
	</div>
  </body>
</html>
